import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class RelatedPaymentEntity with JsonConvert<RelatedPaymentEntity> {
	int id;
	@JSONField(name: "company_id")
	int companyId;
	@JSONField(name: "category_id")
	dynamic categoryId;
	@JSONField(name: "bank_reconciliation_record_id")
	dynamic bankReconciliationRecordId;
	@JSONField(name: "flow_type")
	String flowType;
	String type;
	String name;
	@JSONField(name: "contact_id")
	dynamic contactId;
	@JSONField(name: "account_id")
	int accountId;
	@JSONField(name: "to_account_id")
	int toAccountId;
	@JSONField(name: "related_payment_id")
	int relatedPaymentId;
	@JSONField(name: "payment_type_id")
	int paymentTypeId;
	@JSONField(name: "issued_at")
	String issuedAt;
	dynamic numbers;
	@JSONField(name: "number_ids")
	dynamic numberIds;
	@JSONField(name: "currency_code")
	String currencyCode;
	double total;
	@JSONField(name: "cheque_number")
	dynamic chequeNumber;
	String status;
	@JSONField(name: "created_at")
	String createdAt;
	@JSONField(name: "updated_at")
	String updatedAt;
	@JSONField(name: "deleted_at")
	dynamic deletedAt;
}
